@wapHeight:64px;
@media screen and (max-width:414px){
  body{
    min-width:320px;
    .hidden-wap{
      display: none;
    }
  }
  .router-view{
    padding-top: @wapHeight;
  }
  .header{
    .header-wap{
      height: @wapHeight;
      display: flex;
      padding: 0 20px;
      align-items: center;
      flex-flow: row;
      position: relative;
      .nav{
        position: absolute;
        width: 100%;
        left: 0;
        top: @wapHeight;
        background: white;
        z-index: 333;
        border-top: 1px dashed #D8D8D8;
        a{
          display: block;
          z-index: 222;
          color: #333333;
          height: 35px;
          line-height: 35px;
          text-align: center;
          
        }
      }
      .menu{
        width: 20px;
        span{
          display: block;
          height: 2px;
          width: 20px;
          background: @activeColor;
          margin-bottom: 5px;
          transition: all 0.35s;
          border-radius: 1px;
        }
        &-open{
          position: relative;
          span{
            position: absolute;
            margin-bottom: 0;
            &:nth-child(1){
              transform: rotate(45deg)
            }
            &:nth-child(2){
              opacity: 0;
            }
            &:nth-child(3){
              transform:rotate(-45deg)
            }
          }
        }
      }
    }
  }
  .footer{
    background: url(~@/assets/img/footer-wap.png);
    .foot-list{
      text-align: left;
      margin-bottom: 10px;
      padding: 0 20px;
      &:nth-child(2){
        border: none;
      }
      .value{
        width: 130px;
        word-break: inherit;
        line-height: 16px;
        font-size: 10px;
      }
      .footer-img{
        width: 34px;
        vertical-align: middle
      }
      .footer-img-key{
        font-size: 16px;
        margin-right: 10px;
      }
      &.footer-img-item{
        margin-top: 10px;
      }
    }
    .footer-copyright{
      margin-top: 20px;
      font-size: 12px
    }
  }
  .title{
    font-size: 18px;
    padding: 30px 0;
    span{
      padding-bottom: 8px;
    }
  }
  .home-content{
    padding: 0 15px;
  }
  .troubled{
    width: 100% / 3;
    float: left;
    &:nth-child(1){
      .icon{
        .hoverImg(1)
      }
    } 
    &:nth-child(2){
      .icon{
        .hoverImg(2)
      }
    }
    &:nth-child(3){
      .icon{
        .hoverImg(3)
      }
    }
    
    .flex{
      margin: 0 7px;
      border: 2px solid @activeColor;
      border-radius: 5px;
      padding: 10px 7px;
      color: @activeColor;
      font-size: 12px;
      min-height: 150px;
      .icon{
        width: 20px;
        height: 20px;
        background-repeat:no-repeat;
        background-size: contain;
        display: inline-block;
        
      }
    }
    @img:'~@/assets/img/home/';
    .hoverImg(@index){
      background-image: url("@{img}icon-1.@{index}-active.png")
    }
    .contentTitle{
      font-size: 16px;
      margin: 4px 0 8px;
    }
    .item-txt{
      line-height: 25px / 2;
      font-size:9px ;
    }
  }
  .ending{
    .loop(1,'-active');
    margin-bottom: 12px;
    &:nth-child(2){
      .ending-box{
        width: 200px;
      }
    }
    .ending-box{
      width: 180px;
      height:90px;
      margin: 0 auto;
      box-sizing: border-box;
      padding:7px;
      border: 1px solid @activeColor;
      position: relative;
      .left-img{
        .bg-size(60px);
        position: absolute;
        left: -10px;
        top:50%;
        margin-top: -30px;
      }
      .icon{
        .bg-size(20px);
        background-size: contain;
        background-repeat: no-repeat;
      }
      .right-txt{
        padding-left: 60px;
        height:100%;
        width: 100%;
        box-sizing: border-box;
        line-height: 16px;
        font-size: 12px;
        color: #333333;
        .flex-wrap{
          height:100%;
        }
      }
    }
    .loop(@counter,@flag) when (@counter<=3) {
      .loop(@counter+1,@flag);
      &:nth-child(@{counter}) {
        .left-img{
          .imgNthChild('/home/img2.@{counter}@{flag}');
        }
        .icon{
          .imgNthChild('/home/icon-2.@{counter}@{flag}');
        }
      }
    }
  }
  .server{
    .width-divide(2);
    .box-active{
      width: 140px;
      height:250px;
      background-size: 100% 100%;
      margin: 0 auto;
      text-align: center;
      padding: 0 4px;
      box-sizing: border-box;
      color: white;
      background-image:url('@{imgUrl}/home/threemodel-active.png') ;
      line-height: 18px;
      overflow: hidden;
      .contentTitle{
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 16px;
        margin-top: 50px;
      }
      p{
        line-height:20px;
        font-size: 12px;
      }
    }
    &.center-box{
      margin: 0 auto;
      float: none;
      clear: both;
      width: 100%;
      .center-box-child{
        margin: 0 auto
      }
      .serve-box{
        .bg-size(210px);
        display: flex;
        text-align: center;
        color: white;
        background-image: url('@{imgUrl}/home/center-model.png') ;
        img{
          width: 25px;
        }
        div{
          padding:0 30px;
          font-size: 12px;
          img{
            width:40px;
          }
          .txt-active{
            font-size: 14px;
            font-weight: bold;
            margin-top: 5px;
            line-height: 18px;
          }
        }
      }
    }
  }
  .tips{
    width:167px;
    height:82px;
    background-size: 100% 82px;
    background-repeat:no-repeat ;
    position: absolute;
    color: #777A7D;
    .flex-wrap{
      height:100%;
      padding:0 12px;
      padding-left: 14px;
      text-align: center;
    }
    .loop(0);
    .loop-img(1,'');
    .icon{
      width: 18px;
      height:18px;
      background-size: contain;
      background-repeat: no-repeat;
      display: inline-block;
    }
    p{
      font-size: 12px;
      line-height: 16px;
    }
    .tipsLeft(@num){
      top:@num*70px;
    }
    .loop(@counter) when (@counter<=5) {
      .loop(@counter+1);
      &:nth-child(@{counter}) {
        .tipsLeft(@counter)
      }
    }
    .loop-img(@counter,@flag) when (@counter<=5) {
      .loop-img(@counter+1,@flag);
      &:nth-child(@{counter}) {
        .icon{
          .imgNthChild('/home/icon-4.@{counter}@{flag}');
        }
      }
    }
    &:nth-child(Odd){
      background-image:url('@{imgUrl}/home/tips-right.png');
      left: 15px;
      &::after{
        right: -10px;
      }
    }
    &:nth-child(even){
      background-image:url('@{imgUrl}/home/tips-left.png');
      margin-left: 10px;
      left: 50%;
      &::after{
        left:-13px;
      }
    }
    &::after{
      content: '';
      width: 7px;
      height:7px;
      background:#777A7D;
      position: absolute;
      border-radius: 50%;
      top:50%;
      margin-top: -3px  ;
    }
  }
  .tips-box{
    margin: 0 auto;
    position: relative;
    height:474px;
    &::after{
      content: '';
      position: absolute;
      width:3px;
      height: 100%;
      background: #777A7D;
      left:50%;
      margin-left: -1px;
    }
  }
  .wave-model{
    text-align: center;
    #wave1{
      height: 150px
    }
    .promise{
      position: relative;
      text-align: left;
      .width-divide(3);
      box-sizing: border-box;
      padding-left: 40px;
      .text{
        width: 80px;
        line-height: 16px;
        margin-top: 5px;
        font-size: 10px;
        color: #666666;
      }
      .img-item{
        width: 24px;
        margin-bottom: 6px;
        margin-top: 20px;
      }
      .contentTitle{
        color: @activeColor;
        font-size: 13px;
        width: 70px;
      }
      &::after{
        content: '';
        position: absolute;
        .bg-size(13px);
        background-image: url("@{imgUrl}/home/dian.png");
        left: 7px;
        top:0;
      }
      &::before{
        content: '';
        position: absolute;
        height: 100%;
        width: 1px;
        background: #BBBBBB;
        left: 13px;
        top:13px;
      }
    }
  }
  .serve-to {
    .server-user{
      padding: 15px;
      background:#9C9C9C;
      color: white;
      margin-bottom: 15px;
      img{
        width: 70px;
        margin-right: 10px;
      }
      .right-overflow{
        .contentTitle{
          font-size: 11px;
          line-height: 16px;
        }
        .disc{
          font-size: 10px;
          line-height: 16px;
          margin-top: 3px;
          text-align: justify;
        }
      }
      .text{
        font-size: 10px;
        margin-top: 5px;
        line-height: 16px;
      }
    }
    .server-box{
       float: none;
     }
  }
  .flex-img-box{
    width: 25%;
    height: 30px;
    margin-bottom: 10px;
    img{
      display: block;
      margin: 0 auto;
      width: 75px;
    }
  }
  .money{
    .server-user{
      padding: 15px;
      border:1px solid #ddd;
      color: #333;
      margin: 0 auto 15px;
      width: 284px;
      img{
        width: 70px;
        margin-right: 10px;
      }
      .right-overflow{
        .contentTitle{
          font-size: 12px;
          line-height: 16px;
        }
        .disc{
          font-size: 10px;
          line-height: 13px;
          margin-top: 3px;
          text-align: justify;
        }
      }
    }
  }
  .obtain{
    height:275px;
    background-size:100% 100% ;
    background-image: url("@{imgUrl}/home/model6-wap.png");
    position: relative;
    .obtain-wap{
      margin-top: 20px;
    }
  }
  .obtain-box-item{
    .width-divide(3);
    .loop-img(1,'-active');
    .img{
      .bg-size(65px)
    }
    .text{
      font-size: 12px;
      background: @activeColor;
      padding:5px 10px;
      margin:10px  5px  0;
      color: white;
    }
    .loop-img(@counter,@flag) when (@counter<=3) {
      .loop-img(@counter+1,@flag);
      &:nth-child(@{counter}) {
        .img{
          .imgNthChild('/home/img6.@{counter}@{flag}');
        }
      }
    }
  }
  // 产品
  .sw{
    .blingbling{
      .flex;
      .flex-wrap;
      .flex-space;
      .box{
        .width-divide(2);        
        .loop-img(1,'');
        &:nth-child(Odd){
          color: @activeColor;
        }
        .content{
          width:180px;
          height:76px;
          margin: 0 auto;
          padding-left: 70px;
          background-size: 100% 100%;
          box-sizing: border-box;
          p{
            text-align: left;
            line-height: 14px;
            font-size: 10px;
            padding-right: 15px;
          }
        }
      }
    }
    .first-function{
      &:nth-child(Odd){
        height:550px;
        background-size: 100% 100%;
        .imgNthChild('/sw/img2-wap');
      }
    }
    .wap-box{
      .mac{
        width:532px /2;
        display: block;
        margin: 45px auto
      }
      .text-item{
        height: 35px;
        line-height: 35px;
        color: #333;
        border:1px solid #DDDDDD;
        font-size: 12px;
        margin: 0 auto 7px;
        background: white;
        padding-left:15px;
        position: relative;
        .index{
          position: absolute;
          font-size: 15px;
          color: #BBBBBB;
          right: 18px;
        }
      }
    }
    .loop-img(@counter,@flag) when (@counter<=6) {
      .loop-img(@counter+1,@flag);
      &:nth-child(@{counter}) {
        .content{
          .imgNthChild('/sw/1.@{counter}@{flag}');
        }
      }
    }
    .model6{
      height:510px;
      background-size: 100% 100%;
      .imgNthChild('/sw/model6-bg');
      .wap-box{
        .model-line{
          display: block;
          width: 158px / 2;
          margin: 10px auto;
        }
        .box{
          .width-divide(3);
          text-align: center;
          float: left;
          margin-bottom: 15px;
          position: relative;
          img{
            width: 42px;
          }
          p{
            font-size: 9px;
            color: #333333;
            margin-top: 5px;
          }
          &:nth-child(2),&:nth-child(5){
            &:after,&:before{
              content: '';
              .bg-size(18px);
              .imgNthChild('/sw/modeladd');
              position: absolute;
              top:50%;
              margin-top: -19px;
            }
            &:after{
              left: -9px;
            }
            &:before{
              right: -9px;
            }
          }
        }
        .list3{
          div{
            .width-divide(2);
            .loop-img(1,'-active');
            &:nth-child(3){
              width: 100%;
              margin: 9px 0;
            }
            span{
              width: 310px / 2;
              height:35px;
              background-size: 100% 100%;
              display: block;
              margin: 0 auto;
              font-size: 12px;
              box-sizing: border-box;
              padding-left: 40px;
              padding-right: 5px;
              padding-top: 5px;
            }
          }
          .loop-img(@counter,@flag) when (@counter<=5) {
            .loop-img(@counter+1,@flag);
            &:nth-child(@{counter}) {
              span{
                .imgNthChild('/sw/letter@{counter}@{flag}');
              }
            }
          }
        }
      }
    }
  }
  //  行业洞察
  .watch{
    .watch-list-items{
      padding: 15px 10px;
      border-bottom:1px solid   #BBBBBB;
      .fleft{
        width: 80px;
        height:80px;
        background: #9c9c9c;
        img{
          width:100%;
          height:100%;
        }
      }
      .right-overflow{
        min-height: 80px;
        padding-left:5px;
        .item-title{
          font-size: 11px;
          line-height: 13px;
          color: #333;
          text-align: justify;
        }
        .item-desc-title{
          line-height: 11px;
          font-size: 10px;
          color: #333;
          font-weight: 500;
          padding-top: 2px;
        }
        .item-desc{
          font-size:10px;
          font-weight:400;
          color:#666;
          margin: 3px 0;
          text-align: justify;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp:2;
          -webkit-box-orient: vertical;
        }

        .item-tag-title{
          font-size: 10px;
          color: #333333;
        }
        .tag-list-item{
          color: @activeColor;
          font-size: 10px;
          display: inline-block;
          padding: 0 5px;
        }
      }
    }
    // 文章详情
    .watch-detail{
      padding: 30px 15px;
      color: #333333;
      .watch-detail-title{
        font-size: 18px;
        font-weight:500;
      }
      .text{
        margin: 20px 0;
        font-size: 12px;
      }
    }
  }
  //关于我们
  .about{
    .wap-text{
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient: vertical;
    }
    .about-banner{
      width: 100%;
    }
    .about-content{
      .content-one{
        padding: 27px 23px;
        .content-left{
          text-align: center;
          font-weight:bold;
          .title-name{
            font-size: 15px;
            line-height:21px;
          }
          .title-translate{
            font-size: 11px;
            line-height:18px;
          }
        }
        .content-right{
          font-size: 10px;
          line-height: 15px;
          .content-title{
            font-size: 14px;
            line-height: 30px;
            font-weight: bold;
          }
          .right-title{
            color: #333333;
            line-height: 30px;
            font-weight: bold;
          }
          .right-text{
            color: #666666;

          }
        }
      }
      .content-two-three{
        //发展历程
        .content-two{
          width: 100%;
          height: 195px;
          .imgNthChild('about/content2-wap');
          background-size: 100% 100%;
          .content-title{
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            line-height: 40px;
          }
          .content-two-block{
            display: flex;
            .content-right{
              display: flex;
              flex-wrap: wrap;
              .two-flex{
                flex: 0 0 50%;
                .right-title{
                  width: 90px;
                  font-size: 12px;
                  line-height: 20px;
                  border-bottom: 1px solid #666666;
                  color: #333333;
                }
                .right-text{
                  font-size: 7px;
                  line-height: 18px;
                  color: #666666;
                  &.data-two-text{
                    width: 84px;
                    line-height: 11px;
                  }
                }
              }
            }
          }
        
        }
        //公司新闻
        .content-three{
          height: 230px;
          .imgNthChild('about/content3-wap');
          background-size: 100% 100%;
          display: flex;
          color: #333333;
          .content-right{
            .flex;
            .flex-wrap;
            .flex-center;
            .three-flex{
              .flex;
              .right-img{
                width: 49px;
                height: 43px;
                background: gray;
              }
              .right-content{
                flex: 1;
                margin-left: 9px;
                .right-title{
                  font-size: 10px;
                  line-height: 14px;
                  font-weight: bold;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  white-space: nowrap;
                }
                .right-text{
                  font-size: 9px;
                  line-height: 11px;
                  margin-top: 5px;
                }
              }
            }
          }
        }
        //左侧标题
        .content-left{
          flex: 0 0 106px;
          display:flex;
          justify-content:center;
          align-items:center;
          .border-title{
            width:60px;
            border:1px solid rgba(102,102,102,1);
            padding: 33px 0;
            text-align: center;
            line-height: 14px;
            .title-name{
              font-size: 10px;
            }
            .title-translate{
              font-size: 5px;
            }
          }
        }
      }
    }
  }
  //合作
  .cooperation{
    .step-two{
      background: #EDEDED;
      padding-bottom: 50px;
      .step-box{
        position: relative;
        .flex{
          padding:  0 15px;
        }
        .box{
          .loop-img(1,'-active');
          position: relative;
          .icon{
            display: block;
            width: 130px / 2;
            height:145px / 2;
            background-size: 100% 100%;
          }
          &:nth-child(1){
            top:-28px;
          }
          &:nth-child(2){
            .icon{
              width: 176px / 2;
            }
            top:-14px;
          }
          &:nth-child(3){
            top:-30px;
          }
          &:nth-child(4){
            top:-23px;
          }
        }
        .loop-img(@counter,@flag) when (@counter<=4) {
          .loop-img(@counter+1, @flag);
          &:nth-child(@{counter}) {
            .icon {
              .imgNthChild('cooperation/2.@{counter}@{flag}');
            }
          }
        }
      }
    }
    .cooperation-list{
      padding:0 25px ;
      .box{
        .loop-img(1,'-active');
        margin-bottom: 17px;
        .list-icon{
          .bg-size(33px);
        }
        .item-content-title{
          font-size:10px;
          line-height: 14px;
          color: #333;
          padding: 5px 1px;
        }
        .item-text{
          font-size: 8px;
          line-height: 11px;
          color: #666;
        }
        &:nth-child(4),&:nth-child(5){
          width: 50%;
        }
      }
    }
    .loop-img(@counter,@flag) when (@counter<=5) {
      .loop-img(@counter+1,@flag);
      &:nth-child(@{counter}) {
        .list-icon{
          .imgNthChild('cooperation/icon-1.@{counter}@{flag}');
        }
      }
    }
    .step-three{
      height:250px;
      background-size:cover;
      .imgNthChild('@{imgUrl}cooperation/model3-wap');
      .flex-three-box{
        padding: 0 15px;
        .box{
          width:100% / 3;
          margin:0 7px;
          overflow: hidden;
          border-radius: 10px;
          box-shadow: 0 1px 10px 1px #c3c3c3;
          .item-content-title{
            font-size: 10px;
            line-height: 25px;
            color: white;
            background: @activeColor;
          }
          .flex{
            height:55px;
            background: white;
            div{
              padding: 0 3px;
            }
          }
        }
        .item-text{
          font-size: 9px;
          color: #5A5A5A;
          line-height: 12px;
        }
      }
    }
    .step-four{
      height:310px;
      background-size:100% 100%;
      .imgNthChild('@{imgUrl}cooperation/model4-wap');
      .step-content{
        padding: 0 15px;
        input{
          height:30px;
          line-height: 30px
        }
      }

      .need-title{
        &.title{
          padding: 15px 0;
        }
      }
    }
  }
}
@media screen and (max-width:320px){
  //footer
  .footer{
    .hidden-pc{
      .foot-list{
        display: block;
        border: none;
        text-align: center;
        .value{
          width: auto;
        }
      }
    }
  }
  .tips{
    width: 139px;
    height:110px;
    background-size: 100% 110px;
  }
  .sw{
    .blingbling{
      .box{
        .width-divide(1);     
        .content{
          width:100%;
          height:115px;
          margin: 0 auto;
          padding-left: 120px;
          color: @activeColor;
          background-size: 100% 100%;
          box-sizing: border-box;
          p{
            text-align: left;
            line-height: 14px;
            font-size: 10px;
            padding-right: 15px;
          }
        } 
      }
    }
    .wap-box{
      .text-item{
        padding-left:5px;
      }
    }
  }
  .wave-model{
    .promise{
      padding-left: 20px;
    }
  }
}